package com.my.mapper;

import com.my.bean.Day;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
  * 日报 Mapper 接口
 * </p>
 *
 * @author 冯政尚
 * @since 2018-09-26
 */
public interface DayMapper extends BaseMapper<Day> {

    //实现分页查询
    List<Day> selectMyPage(@Param("param") Map map1, @Param("map") Map map,@Param("areaid") Long areaid,@Param("admin")boolean admin);
    int countMyPage(@Param("param") Map map1,@Param("map") Map map,@Param("areaid") Long areaid,@Param("admin")boolean admin);


    List<Day> selectDay(@Param("param") Map map,@Param("areaid") Long areaid,@Param("admin")boolean admin);


}